<%--
  Created by IntelliJ IDEA.
  User: WEIJIAHE
  Date: 2019/8/30
  Time: 22:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<html>
<head>
    <title>Title</title>
</head>
<body>

<h1>展示管理员账户数据</h1>
<table border="1">
    <tr>
        <td>管理id</td>
        <td>管理账号</td>
        <td>管理密码</td>
    </tr>
    <c:forEach items="${admins}" var="admins">
        <tr>
            <td>${admins.id}</td>
            <td>${admins.adminUsername}</td>
            <td>${admins.adminPassword}</td>
        </tr>
    </c:forEach>
</table>



<%--跳转到新增管理员页面--%>
<form action="${pageContext.request.contextPath}/pages/admin_list.jsp" method="post">
    <input type="submit"  value="分配"  >
</form>

</body>
</html>
